package com.action.suport;

import com.db.suport.*;

public class UpdateAction {

	private int no;

	private SuportVO vo = new SuportVO();

	private int boardtype;

	private SuportDAO suport;

	public SuportDAO getSuport() {
		return suport;
	}

	public void setSuport(SuportDAO suport) {
		this.suport = suport;
	}

	public int getBoardtype() {
		return boardtype;
	}

	public void setBoardtype(int boardtype) {
		this.boardtype = boardtype;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public SuportVO getVo() {
		return vo;
	}

	public String execute() throws Exception {

		System.out.println("content : " + no);

		vo = suport.suportContentData(no);
		System.out.println("Update : " + vo.toString());
		return "success";
	}
}
